package cn.iocoder.mall.shop.api;

import cn.iocoder.common.framework.vo.CommonResult;
import cn.iocoder.mall.shop.api.pojo.ShopClerkRelationShip;

import java.util.List;

/**
 * @Description: 店铺店员关联关系
 * @Author: jeecg-boot
 * @Date:   2019-10-30
 * @Version: V1.0
 */
public interface ShopClerkRelationShipService {

    /**
     * 给店铺分配店员，，，，，分配之前，先把店员原先和店铺的关系删除
     * @param ClerkrId
     * @return
     */
    CommonResult removeById(String ClerkrId);

    CommonResult save(ShopClerkRelationShip temp);

    CommonResult saveBatch(List<ShopClerkRelationShip> list);

    CommonResult sellerIsInShop(String id,String shopId);
}
